import Index from '../pages/index';
import List from '../pages/list';
import {Navigate} from 'react-router-dom';
export default [
    {
        path:'/index',
        element:<Index/>
    },
    {
        path:'/list',
        element:<List/>
    },
    {
        path:'/',
        element:<Navigate to="/list"/>
    }
]